<script lang="ts" setup>
// 用户信息头部组件
const props = defineProps<{
  userName: string
  greeting: string
}>()
</script>

<template>
  <view class="mx-4 mb-4">
    <text class="text-lg text-gray-800">{{ greeting }}, {{ userName }}</text>
    <text class="text-sm text-gray-500">祝您工作愉快！</text>
  </view>
</template>
